package Demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-07-19
 * Time: 15:46
 */
public class Test1 {
    public static void main(String[] args) {
        Integer i=100;
        Integer j=100;
        System.out.println(i==j);

        Integer x=150;
        Integer y=150;
        System.out.println(x==y);
    }
    public static void main2(String[] args) {
        Integer i=100;
        int x1=i;
        System.out.println(x1);

        int x2=i.intValue();
        System.out.println(x2);
    }
    public static void main1(String[] args) {
        int x=10;
        Integer y1=x;
        System.out.println(y1);

        Integer y2=Integer.valueOf(x);
        System.out.println(y2);
    }
}
